home *** CD-ROM | disk | FTP | other *** search
/ 500 MB Nyheder Direkte fra Internet 1 / 500 MB nyheder direkte fra internet CD 1.iso / start.bat next >
DOS Batch File  |  1995-05-04  |  1KB  |  38 lines

  1. @echo off
  2. if not exist \start\menu\dk.men goto FJOLS
  3. cd \start
  4. :checkenv
  5. set get=0123456789
  6. if NOT "%cdrom%"=="" goto cdexist
  7. set cdrom=0
  8. if "%get%"=="0123456789" goto cddrive
  9. CLS
  10. echo "Your environment is not large enough to start the menu system!"
  11. echo "Please check that you have enough free environment, by adding"
  12. echo "or changing the line;
  13. echo "SHELL=C:\DOS\COMMAND.COM C:\DOS\ /E:1024 /P"
  14. echo "in your CONFIG.SYS"
  15. echo "C:\DOS\COMMAND.COM should point to your COMMAND COM"
  16. echo "/E:1024 is the size of the environment in bytes"
  17. echo "If in doubt about how to complete these steps, please consult"
  18. echo "your DOS manual."
  19. goto exit
  20. :cdexist
  21. if not exist %cdrom%:\START\MENU\dk.MEN goto cddrive
  22. goto rep
  23. :fjols
  24. Echo YOU MUST EXECUTE START.BAT FROM THE ROOT OF YOUR CD-ROM DRIVE!
  25. goto exit
  26. :cddrive
  27. cls
  28. Echo Skriv venligst dit CD-ROM drevbogstav (f.eks. D)
  29. GET26 CE "CD-ROM ???"
  30. if not exist %get%:\START\MENU\dk.MEN goto cddrive
  31. set CDROM=%GET%
  32. :rep
  33. CLS
  34. \start\list \start\inter\intro.txt
  35. cd \start\menu
  36. startmb dk.men
  37. :exit
  38.